package io.sage.modules.basics.dao;

import io.sage.modules.basics.entity.BGoodsArea;
import io.sage.modules.basics.entity.BGoodsShelves;
import io.sage.modules.basics.entity.BGoodsShelvesExample;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

public interface BGoodsShelvesMapper {
    int countByExample(BGoodsShelvesExample example);

    int deleteByExample(BGoodsShelvesExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(BGoodsShelves record);

    int insertSelective(BGoodsShelves record);

    List<BGoodsShelves> selectByExample(BGoodsShelvesExample example);

    BGoodsShelves selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") BGoodsShelves record, @Param("example") BGoodsShelvesExample example);

    int updateByExample(@Param("record") BGoodsShelves record, @Param("example") BGoodsShelvesExample example);

    int updateByPrimaryKeySelective(BGoodsShelves record);

    int updateByPrimaryKey(BGoodsShelves record);
    
    /**
     * 货架列表
     * @param params
     * @return
     */
    List<BGoodsShelves> selectGoodsShelvesList(Map<String, Object> params);
    /**
     * 批量删除
     * @param ids
     * @return
     */
	int deleteBatchIds(Integer[] ids);
}